# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=bluesnarfer
pkgver=0.1
pkgrel=5
pkgdesc='A bluetooth attacking tool.'
groups=('blackarch' 'blackarch-bluetooth')
url='http://www.alighieri.org/project.html'
arch=('x86_64' 'aarch64')
license=('custom')
depends=('bluez-libs')
source=('http://www.alighieri.org/tools/$pkgname.tar.gz')
sha512sums=('929010a6751ccd258edc6053248b3873c66f3c3db7da9414a5c020c80274004ebe89e4c32f45c34768954e3fb8e8019d15c219ec53b7d6ea0b98edec6ab8da2a')

build() {
  cd $pkgname

  make
}

package() {
  cd $pkgname

  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README
}

